home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12442 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newsfeed.internetmci.com!ncar!usenet
  2. From: James Adams <jadams@ucar.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: calloc() - is there a C++ equivalent ?
  5. Date: 20 Mar 1996 00:50:41 GMT
  6. Organization: National Center for Atmospheric Research/Boulder, CO
  7. Message-ID: <4inkp1$je5@ncar.ucar.edu>
  8. NNTP-Posting-Host: mayfly.cgd.ucar.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; IRIX 5.3 IP22)
  13. X-URL: news:comp.lang.c++/116927-117026#314EE893.17F9@piedmont.net
  14.  
  15. Hello,
  16.  
  17.     The subject line says it all - I want to allocate a block of 
  18. memory which I can count on being initialized to zero, as the calloc()
  19. call in C will return.  Is there such a beast in C++, or will I have to 
  20. do the initialization programmatically ?
  21.  
  22.     Thanks for any suggestions/insight !
  23.  
  24. -James
  25.  
  26. P.S. Please email information if possible.
  27. -- 
  28. ---------------------------------------------------------------------------
  29. James Adams                               Email: jadams@ucar.edu
  30. National Center for Atmospheric Research  Phone: (303) 497-1356
  31. Boulder, Colorado                         Fax:   (303) 497-1348
  32.  
  33.     WWW:  http://www.cgd.ucar.edu/ccr/jadams/home.html
  34.  
  35.